﻿using System.Collections.Generic;

namespace YunZuan.Models
{
    public class SupplierListResult
    {
        public IList<SupplierList> rows { get; set; }
        public string display { get; set; }
        public string result { get; set; }
    }
    public class SupplierList
    {
        public string supplier { get; set; }
        public string RoleName { get; set; }
        public Whitelist whitelist { get; set; }
        public string short_name { get; set; }
        public string full_name { get; set; }
        public Classify classify { get; set; }
    }

    public class Whitelist
    {
        public bool gems { get; set; }
        public bool inlays { get; set; }
        public bool emeralds { get; set; }
        public bool prime_golds { get; set; }
        public bool inlays_settings { get; set; }
        public bool stocks { get; set; }
    }
    public class Classify
    {
        public bool gems { get; set; }
        public bool inlays { get; set; }
        public bool emeralds { get; set; }
        public bool prime_golds { get; set; }
        public bool inlays_settings { get; set; }
        public bool stocks { get; set; }
    }
    public class SupplierRoleList
    {
        public string SupplierCode { get; set; }
        public string RoleName { get; set; }
    }
    public class SupplierIsStockList
    {
        public string SupplierCode { get; set; }
        public string IsStock { get; set; }
    }
}
